home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / DataLo~2.cab / GameModes.scr < prev   
Encoding:
Text File  |  2006-01-15  |  1.6 KB  |  47 lines

  1. !AddMode(s,s,s)         // defines new game mode - AddMode(ModeID, Path, Name)
  2. !AddModeCustom(s,s,s)           // defines new game mode - AddMode(ModeID, Path, Name)
  3. !StartCash(i)            // defines starting cash for a game mode
  4. !EndCondition(s)        // defines game end condition for a game mode
  5. !SetParam(s,s)
  6. !TestRace(s)            // path to the script definig the test race (in garage)
  7. !BestTimeDir(s)         // path where best times files will be put and scaned when showing best times
  8. !BestTimeInfo(s)        // this short info text will be put into every best time record file
  9.  
  10. AddMode("RallyLeague", "Data\\Logic\\RallyLeague\\", "&GameModeChampionship&")
  11. {
  12.   StartCash(15000)
  13. //PZ  EndCondition("rA8Extr_1_POS > 0 && rA8Extr_2_POS > 0 && rA8Extr_3_POS > 0 && rA8Extr_4_POS > 0 && rA8Extr_5_POS > 0 && rA8Extr_6_POS > 0")
  14.   EndCondition("rOS_1_POS <= 2 && rOS_2_POS && rOS_1_POS != 0 && rOS_2_POS != 0 ")
  15.  
  16.   TestRace("data\\logic\\RallyLeague\\TestRace.scr")
  17.   BestTimeDir("data\\RacesData\\RallyLeague\\")
  18.   BestTimeInfo("CAREER")
  19. //  BestTimeInfo("FAKEAI")
  20. }
  21.  
  22. AddMode("Net", "Data\\Logic\\NetMode\\", "&GameModeNet&")
  23. {
  24.   StartCash(15000)
  25.   BestTimeDir("data\\RacesData\\Net\\")
  26. }
  27.  
  28. AddMode("SingleRace", "Data\\Logic\\SingleRace\\", "&GameModeArcade&")
  29. {
  30.   StartCash(15000)
  31.   BestTimeDir("data\\RacesData\\SingleRace\\")
  32.   BestTimeDir("data\\RacesData\\RallyLeague\\")
  33. }
  34.  
  35. AddMode("TestMode", "Data\\Logic\\TestMode\\", "Test mode")
  36. {
  37.   StartCash(1000000)
  38.   BestTimeDir("data\\RacesData\\Test\\")
  39. }
  40.  
  41. AddModeCustom("Custom", "Data\\Logic\\SingleRace\\", "&CustomGame&")
  42. {
  43.   StartCash(1000000)
  44.   BestTimeDir("data\\RacesData\\Custom\\")
  45. }
  46.  
  47.